package com.train.system.po;

import java.time.LocalDateTime;

import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.io.Serializable;

/**
 * 车站
 * @author baitiaojun
 * @TableName station
 * @createDate 2025-02-19 22:57:10
 */
@TableName(value ="station")
@Data
public class StationPO implements Serializable {


    /**
    * id
    */
    @TableId
    private Long id;

    /**
    * 站名
    */
    private String name;

    /**
    * 站名拼音
    */
    private String namePinyin;

    /**
    * 站名拼音首字母
    */
    private String namePy;

    /**
    * 新增时间
    */
    @TableField(fill = FieldFill.INSERT)
    private LocalDateTime createTime;

    /**
    * 修改时间
    */
    @TableField(fill = FieldFill.INSERT_UPDATE)
    private LocalDateTime updateTime;

    @TableField(exist = false)
    private static final long serialVersionUID = 1L;
}
